home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000201_news@newsmaster….columbia.edu _Tue Aug 19 18:09:04 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA25487
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 19 Aug 1997 18:09:04 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id SAA29063
  7.     for kermit.misc@watsun; Tue, 19 Aug 1997 18:09:03 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: "shebang" help
  12. Date: 19 Aug 1997 22:09:01 GMT
  13. Organization: Columbia University
  14. Lines: 26
  15. Message-ID: <5td5ht$41d$1@apakabar.cc.columbia.edu>
  16. References: <33F9CF57.740BF0D6@ttsg.com> <5tckvg$oqd$1@apakabar.cc.columbia.edu> <33FA0D90.5E4B856@ttsg.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7509
  19.  
  20. In article <33FA0D90.5E4B856@ttsg.com>, TTSG  <ttsg@ttsg.com> wrote:
  21. : I'd like to have the number to dial in a file so I can change it via a
  22. : web page.  In shell, I could `cat /tmp/waldo` to bring information into
  23. : a command, but alas :
  24. :     dial `cat /tmp/waldo`
  25. : doesn't.
  26. : Will I need to do something like :
  27. :      open read /tmp/waldo
  28. :      read line
  29. :      close read
  30. :      dial \m(line)
  31. :      
  32. : To get it to do what I want?
  33. The next release of C-Kermit will have a more convenient construct, but
  34. the above should work in any version since 1992 (of course you also want to
  35. add "if failure" checks after the OPEN and READ commands).
  36.  
  37. Or you could have it "dial foo", where "foo" is a dialing directory entry,
  38. and you can edit the dialing directory if you want.
  39.  
  40. - Frank